home *** CD-ROM | disk | FTP | other *** search
/ Clickx 115 / Clickx 115.iso / software / tools / windows / tails-i386-0.16.iso / live / filesystem.squashfs / usr / include / scribus-ng / editor.h < prev    next >
Encoding:
C/C++ Source or Header  |  2007-06-04  |  1.1 KB  |  59 lines

  1. /*
  2. For general Scribus (>=1.3.2) copyright and licensing information please refer
  3. to the COPYING file provided with the program. Following this notice may exist
  4. a copyright and/or license notice that predates the release of Scribus 1.3.2
  5. for which a new license (GPL+exception) is in place.
  6. */
  7. #ifndef EDITOR_H
  8. #define EDITOR_H
  9.  
  10. #include <QDialog>
  11.  
  12. #include "scribusapi.h"
  13.  
  14. class QTextEdit;
  15. class QMenu;
  16. class QMenuBar;
  17. class QVBoxLayout;
  18. class QAction;
  19. class ScribusView;
  20. class PrefsContext;
  21.  
  22. class SCRIBUS_API Editor : public QDialog
  23. {
  24.         Q_OBJECT
  25.  
  26. public:
  27.     Editor ( QWidget* parent, QString daten, ScribusView* vie = 0 );
  28.     ~Editor() {};
  29.     QTextEdit* EditTex;
  30.     QMenu* fmenu;
  31.     QMenu* emenu;
  32.     QMenuBar* menuBar;
  33.     QAction* newAct;
  34.     QAction* openAct;
  35.     QAction* saveAsAct;
  36.     QAction* saveExitAct;
  37.     QAction* exitAct;
  38.     QAction* undoAct;
  39.     QAction* redoAct;
  40.     QAction* cutAct;
  41.     QAction* copyAct;
  42.     QAction* pasteAct;
  43.     QAction* clearAct;
  44.     QAction* getFieldAct;
  45.     ScribusView* view;
  46.  
  47. private slots:
  48.     void del();
  49.     void OpenScript();
  50.     void SaveAs();
  51.     void GetFieldN();
  52.  
  53. protected:
  54.     QVBoxLayout* EditorLayout;
  55.     PrefsContext* dirs;
  56. };
  57.  
  58. #endif // EDITOR_H
  59.